FLTK_CFLAGS += $(shell fltk-config --ldstaticflags)

LC2DEMO_C = lc2demo.cpp c2lib.a

all: c2demo

c2demo: Makefile $(LC2DEMO_C)
	g++ $(LC2DEMO_C) -o c2demo $(FLTK_CFLAGS)
	strip c2demo

clean:
	rm -f c2demo

